<?php

class Kd_Html_Button_Submit extends Kd_Html_Button_Base {

    public function  __construct() {
        parent::__construct();
        $this->templateName = 'button/submit';
        $this->addClass('button', 'submit');
    }

    protected function render(){
        $this->setAttribute('type', 'submit');
        
        return '<button'.$this->getAttributeHtml().'>'
               . '<span><span>'.$this->getText().'</span></span></button>';
    }
}